﻿using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
using System;

namespace Sustainalytics.Entities
{
    public class PortfolioBase : IEntity
    {
        public Guid Id { get; set; }

        public string Name { get; set; }

        [BsonRepresentation(BsonType.String)]
        public PortfolioSharingStatus SharingStatus { get; set; }

        public Guid[] AccountIds { get; set; }

        public string AddedByUserName { get; set; }

        public Guid AddedByUserId { get; set; }

        public bool IsAutomatic { get; set; }

        public bool IsReadonly { get; set; }
    }
}
